import { registerMicroApps, start } from 'qiankun'
import { getMicroApps } from './config'

// 1. 获取微应用配置信息
const MICRO_CONFIG = getMicroApps(data => {
  if(data.name === 'Micor1') {
    console.log('name: ', data.name)
  }
})

// 2. 注册微应用
registerMicroApps(MICRO_CONFIG, {
  
})


// 3. 启动
start()
export default function () {
}
